import requests

cookies = {
    'qcc_did': '6df549e3-69b3-424b-984d-a92f36954bee',
    'UM_distinctid': '197c4a9bd2a1b8b-03733e87134cd9-26011e51-1fa400-197c4a9bd2b1d14',
    '_c_WBKFRo': 'fTVLHqqGEDTVSbubKHzV9R2fQZzPISWWUmHLMzP7',
    'tfstk': 'gELKB-DshADHICYdsBogZeJ_v1lgNcAEtpRbrTX3Vdp9GIyhVMDFehpWQMXQ-XS-wd92tgYJazCWNLlFEXoMTB7PPxDcyqAeTyU7JJTdOCg6_saQPcjC_kKC0xDmoVb3MPLsnLfovwcOaO1CN_aI6G15wa1CVTGOC_C4VJ9WFfF1T6CCFy6QCP6NNa6WFaGO5O5RPTGvBYB_OT4JvUt0PSEiSrUvW6IdezXayK84ogBXOOUShFCKFtOCBzaRHHvDfCdnprRG8FvAip0_JKdBcLtXCVUdbHO9yi8zdf_5VhxcvhHQyOYhwi_5X7aW6w6N0U_jlRCwfBxW8pF8P68HogBVXbaPqNTccn9LajR1R_9P0UD489OWgE-ck4U1JgsPZEYY092cH_qI6fEz4M1ZzdEPO9WnMfCOnX384uSZ_1Bm6fEz4M1N6tcKwurPbf5..',
    'acw_tc': '0a472f8417528129945981688e0085ef1bd34c84b9a46e29a912ab5058b8ff',
    'QCCSESSID': 'e879e43bb363ea7b374db6ab35',
    'CNZZDATA1254842228': '2029243945-1751351148-%7C1752813079',
}

headers = {
    '410ce5691fa18d08d4d2': '5793fbe00543f5aad1b454aed7ea56ff7a1e1ca1f345cd36832768e806e0d95b9f2af89efd3924dc441c2ecf728c67a39b72d516bdc97a010422d530b1527bf6',
    'accept': 'application/json, text/plain, */*',
    'accept-language': 'zh-CN,zh;q=0.9',
    'priority': 'u=1, i',
    'referer': 'https://www.qcc.com/web/bigsearch/judicial-litigation/search',
    'sec-ch-ua': '"Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
    'sec-fetch-dest': 'empty',
    'sec-fetch-mode': 'cors',
    'sec-fetch-site': 'same-origin',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36',
    'x-pid': '2ab688ae1bc767d9f59770bddab729ac',
    'x-requested-with': 'XMLHttpRequest',
    # 'cookie': 'qcc_did=6df549e3-69b3-424b-984d-a92f36954bee; UM_distinctid=197c4a9bd2a1b8b-03733e87134cd9-26011e51-1fa400-197c4a9bd2b1d14; _c_WBKFRo=fTVLHqqGEDTVSbubKHzV9R2fQZzPISWWUmHLMzP7; tfstk=gELKB-DshADHICYdsBogZeJ_v1lgNcAEtpRbrTX3Vdp9GIyhVMDFehpWQMXQ-XS-wd92tgYJazCWNLlFEXoMTB7PPxDcyqAeTyU7JJTdOCg6_saQPcjC_kKC0xDmoVb3MPLsnLfovwcOaO1CN_aI6G15wa1CVTGOC_C4VJ9WFfF1T6CCFy6QCP6NNa6WFaGO5O5RPTGvBYB_OT4JvUt0PSEiSrUvW6IdezXayK84ogBXOOUShFCKFtOCBzaRHHvDfCdnprRG8FvAip0_JKdBcLtXCVUdbHO9yi8zdf_5VhxcvhHQyOYhwi_5X7aW6w6N0U_jlRCwfBxW8pF8P68HogBVXbaPqNTccn9LajR1R_9P0UD489OWgE-ck4U1JgsPZEYY092cH_qI6fEz4M1ZzdEPO9WnMfCOnX384uSZ_1Bm6fEz4M1N6tcKwurPbf5..; acw_tc=0a472f8417528129945981688e0085ef1bd34c84b9a46e29a912ab5058b8ff; QCCSESSID=e879e43bb363ea7b374db6ab35; CNZZDATA1254842228=2029243945-1751351148-%7C1752813079',
}

params = {
    # 'zhiXingId': '3301880621754ef2a524420bcbb7d9f51',
    'zhiXingId': 'c77c5da2941e8a6782bd7f7c74cf5dcf1',
}

response = requests.get('https://www.qcc.com/api/riskDetail/zhixing', params=params, cookies=cookies, headers=headers)

print(response.text)